/*    */
package com.iris.egrant.service.proposal;
/*    */
/*    */

import com.iris.egrant.dao.proposal.ProposalCachedDao;
import com.iris.egrant.dao.proposal.ProposalCachedExtendDao;
import com.iris.egrant.dao.proposal.ProposalDao;
import com.iris.egrant.exception.ServiceException;
import com.iris.egrant.model.formInit.FormBaseLibrary;
import com.iris.egrant.model.proposal.ProposalCached;
import com.iris.egrant.model.proposal.ProposalCachedExtend;
import com.iris.egrant.service.formInit.InitializeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.Map;

/*    */
/*    */
/*    */
/*    */
/*    */
/*    */
/*    */
/*    */
/*    */
/*    */
@Service("proposalReadService")
/*    */
@Transactional(rollbackFor = {Exception.class}, readOnly = true)
/*    */ public class ProposalReadServiceImpl
        /*    */ implements ProposalReadService
        /*    */ {
    /*    */
    @Autowired
    /*    */ private ProposalCachedDao proposalCachedDao;
    /*    */
    /*    */   @Autowired
    /*    */   private InitializeService initializeService;

    /*    */   @Autowired
    /*    */   protected ProposalCachedExtendDao proposalCachedExtendDao;
    /*    */   /*    */
    public ProposalCached getProposalCache(Long posCode) {
        /* 65 */
        return (ProposalCached) this.proposalCachedDao.get(posCode);
        /*    */
    }

    /*    */   public FormBaseLibrary getFormBaseLibraryByGrantId(Long grantCode, Long formCode, String xmlData, Map<String, Object> codes) throws ServiceException {
        /* 75 */     return this.initializeService.getFormBaseLibraryByGrantId(grantCode, formCode, xmlData, codes);
        /*    */   }

    /*    */   public ProposalCachedExtend getProposalCachedExtend(Long posCode) {
        /* 70 */     return this.proposalCachedExtendDao.getPrpInfo(posCode);
        /*    */   }
}


/* Location:              D:\文件kjt\WEB-INF\lib\egrant-code-2.2.20240205.1659.jar!\com\iris\egrant\service\proposal\ProposalReadServiceImpl.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       1.1.3
 */